from random import*
N=int(input())
print("Введите N")
for i in range (N):
  k=0
for i in range(N):
   x=randint(-100,100)
   y=randint(-100,100)
if x<-7 and y<-8:
     k=k+1
if x<5 and y<-8:
     k=k+1
if x<5 and y<5:
     k=k+1
if x<-7 and y<5:
     k=k+1
print(k)

